package com.model;

/**
 *
 * @author Lang Van Hao
 */
public class DefectStatus {

    private int defectStatusID;
    private String defectStatusName;

    /**
     * Contructor for  DefectStatusClass
     */
    public DefectStatus() {
    }

    /**
     * Contructor for  DefectStatusClass
     * @param defectStatusID
     * @param defectStatusName
     */
    public DefectStatus(int defectStatusID, String defectStatusName) {
        this.setData(defectStatusID, defectStatusName);
    }

    /**
     * Method to set data for DefectStatusClass
     * @param defectStatusID
     * @param defectStatusName
     */
    public void setData(int defectStatusID, String defectStatusName) {
        this.setDefectStatusID(defectStatusID);
        this.setDefectStatusName(defectStatusName);
    }

    /**
     * @return the defectStatusID
     */
    public int getDefectStatusID() {
        return defectStatusID;
    }

    /**
     * @param defectStatusID the defectStatusID to set
     */
    public void setDefectStatusID(int defectStatusID) {
        this.defectStatusID = defectStatusID;
    }

    /**
     * @return the defectStatusName
     */
    public String getDefectStatusName() {
        return defectStatusName;
    }

    /**
     * @param defectStatusName the defectStatusName to set
     */
    public void setDefectStatusName(String defectStatusName) {
        this.defectStatusName = defectStatusName;
    }
}
